package com.jisf.driver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@MapperScan(basePackages = {"com.jisf.driver.mapper", "com.jisf.driver.dao"})
@EnableGlobalMethodSecurity(securedEnabled = true,prePostEnabled = true)	//开启SpringSecurity权限管理
public class DrivingSchoolEndApplication {

    public static void main(String[] args) {
        SpringApplication.run(DrivingSchoolEndApplication.class, args);
    }

}
